package com.net.xpay.alipay.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class AlipayFundAccountbookPageCreateModel {

    private String productCode;

    private String bizScene;

    private String outBizNo;

    private String accountBookAlias;

    private PrincipalInfo principalInfo;

    private BusinessParam businessParam;


    @Getter
    @Setter
    @NoArgsConstructor
    public static class PrincipalInfo {
        //签约开通商户主体
        private String identity;

        //签约开通商户主体类型
        private String identityType;

        //支付宝主体姓名
        private String identityName;
    }

    @Getter
    @Setter
    @NoArgsConstructor
    public static class BusinessParam {
        //联系人
        private String contactName;

        //联系电话
        private String contactPhoneNumber;

        //授权协议号，可选。如果已经有有效的授权协议并提供时，会不会创建新的授权协议信息。
        private String agreementNo;
    }
}
